
import {axios} from "./request";

export function getAction(url,parameter) {
  return axios({
    url: url,
    method: 'get',
    params: parameter
  })
}

export function postAction(url, parameter) {
  return axios({
    url: url,
    method:'post' ,
    data: parameter
  })
}

export function deleteAction(url,parameter) {
  return axios({
    url: url,
    method: 'delete',
    params: parameter
  })
}

